[paket]
tanim   = EFI açılış yöneticisi
paketci = milisarge
grup    = sistem
url     = https://www.rodsbooks.com/refind

[gerek]
derleme = gnu-efi
calisma =

[kaynak]
1       = https://sourceforge.net/projects/refind/files/${surum}/${isim}-src-${surum}.tar.gz
dosya   = refind-gnu-efi.patch

[sha256]
1       = dd58944854a42df5a2a943f15e5dcfd995808f28580df96ad39d68fb1e48c970 

[derle]
bayrak   = 0
yama     = refind-gnu-efi.patch
betik    = sed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind/"|g' -i refind-install
betik    = make && make fs

[pakur]
betik   = install -vDm 644 refind/*.efi -t "${PKG}/usr/share/${isim}"
betik   = install -vDm 644 drivers_*/*.efi -t "${PKG}/usr/share/refind/drivers_x64"
betik   = install -vDm 644 gptsync/*.efi -t "${PKG}/usr/share/${isim}/tools_x64"
betik   = install -vDm 644 "${isim}.conf-sample" -t "${PKG}/usr/share/${isim}"
betik   = install -vDm 644 keys/*{cer,crt} -t "${PKG}/usr/share/${isim}/keys"
betik   = install -vdm 700 "${PKG}/etc/refind.d/keys"
betik   = install -vDm 644 fonts/*.png -t "${PKG}/usr/share/${isim}/fonts"
betik   = install -vDm 644 icons/*.png -t "${PKG}/usr/share/${isim}/icons"
betik   = install -vDm 644 icons/svg/*.svg -t "${PKG}/usr/share/${isim}/icons/svg"
betik   = install -vDm 755 {refind-{install,mkdefault},mkrlconf,mvrefind} -t "${PKG}/usr/bin"
betik   = install -vDm 755 fonts/mkfont.sh "${PKG}/usr/bin/${isim}-mkfont"
betik   = install -vDm 644 docs/man/*.8 -t "${PKG}/usr/share/man/man8"
